<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>约会</title>
  <meta name="mobile-agent" content="format=html5; url=https://m.mgqr.com/yuehui/50166.htm" />
  <link rel="alternate" media="only screen and(max-width: 640px)" href="https://m.mgqr.com/yuehui/50166.htm" />
  <link rel="stylesheet" type="text/css" href="../style/yuehui.css" />
  <script src="../script/jquery-2.0.0.min.js" type="text/javascript"></script>
  <script type="text/javascript" src="../script/common.js"></script>
  <link rel="stylesheet" type="text/css" href="../style/default.css" />
  <style type="text/css">
    [v-cloak]{
      display: none;
    }
    .accept{
      margin-left: 220px;
      width: 200px;
      height: 40px;
    }
  </style>
 </head>
 <body>
  <iframe src="./header.html" style='width:100%;height:65px;'></iframe>

  <div id="menu">
   <div class="frame">
    <div class="user_msg">
     <a id="t_msg" class="t_msg" href="javascript:;" rel="nofollow"><i class="i_total"></i></a>
     <a id="t_user" class="t_user" href="javascript:;" rel="nofollow"></a>
    </div>

    <div id="navBd">
     <ul>
      <li><a href="./search.html">女士</a></li>
      <li><a href="./search.html">男士</a></li>
      <li><a href="./yuehui.html">约会</a></li>
      <li><a href="./article.html">故事</a></li>
      <li><a href="./hongbao.html">红包</a></li>
     </ul>
     <div class="move-bg"></div>
    </div>
   </div>
  </div>
  <div id="content" class="frame" v-cloak>

   <div class="clear">
    <div class="left">
     <dl id="yhinfo">
      <dt>
       {{data.yue.title}}
      </dt>
      <dd>
       <a :href="'./userInfo.html?id='+data.id" class="img"><img :src="data.cover" /></a>
       <ul class="user">
        <li><a href="https://www.mgqr.com/user/4602168.html" class="green">{{data.name}}</a><span :class='[data.gender == 0?"sex0":"sex1"]' class="sex"></span></li>
        <li>{{data.area}} <i>{{data.age}}岁</i><i>{{data.height}}cm</i></li>
        <li>期望的情人：{{data.yue.want || "有家有业的正经人"}}</li>
       </ul>
      </dd>
     </dl>
     <ul class="meetinfo">
      <li><i>约会人数：</i>单人约会</li>
      <li><i>约会对象：</i><font color="red">仅限异性</font></li>
      <li><i>约会见面时间：</i>10月12日10点</li>
      <li><i>报名截止时间：</i><font color="red">10月12日10点</font></li>
      <li><i>约会城市：</i>{{data.area}}</li>
      <li><i>约会具体地点：</i>见面后再决定</li>
      <li><i>约会对象条件：</i>无条件</li>
      <li><i>约会费用：</i>AA</li>
      <li><i>约会类型：</i>郊游</li>
      <li><i>交通方式：</i>轿车</li>
      <li><i>如何去约会地点：</i>各自前往约会地,约会完毕，我送你</li>
     </ul>
     <button class='accept' onclick='accept()'>报名</button>
    </div>
   </div>

  </div>

  <iframe src="./footer.html" style='width:100%;height:69px;'></iframe>
  
    <script src="../script/jquery.hDialog.js" type="text/javascript"></script>
  <script type="text/javascript" src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17-beta.0/vue.min.js'></script>
  <script type="text/javascript" src='./userdata.js'></script>
  <script type="text/javascript">
    var accept = function(){
      $.showLoading("报名成功");

      setTimeout(function(){
        $.hideLoading();        
      },1500)
    }
    new Vue({
      el:'#content',
      data:function(){
        return {
          data:{
            yue:{}
          }
        }
      },
      methods:{
      },
      mounted(){
        let id = location.search.split('=')[1];
        console.log(id);
        this.data = JSONDATA[id];
      }
    })

  </script>

 </body>
</html>